package com.ziyun.erp.common.e.capital;

import com.ziyun.erp.common.e.BaseEnum;

/**
 * 申请提现状态枚举
 *
 * @author zh
 * @date 2018/8/617:55
 */
public enum ApplyStatusEnum implements BaseEnum {
    WAIT_CHECK(0, "待审核"),
    PASS_CHECK(1, "审核通过"),
    NOT_PASS_CHECK(2, "驳回"),
    GIVING_SUCCESS(3, "打款成功"),
    GIVING_FAIL(4, "打款失败"),
    GIVING_CALLBACK_FAIL(5, "打款回调失败");

    private int id;
    private String describe;

    ApplyStatusEnum(int id, String describe) {
        this.id = id;
        this.describe = describe;
    }

    ;

    @Override
    public int toInt() {
        return id;
    }

    @Override
    public String toCode() {
        return null;
    }

    @Override
    public String toDescribe() {
        return describe;
    }
}
